<template>
  <div class="register">
    <van-nav-bar right-text="需要帮助" left-arrow class="nav" @click-left="onClickLeft" />
    <regmain />
  </div>
</template>

<script>
import regmain from "./components/register/regmain.vue";
export default {
  name: "register",
  data() {
    return {};
  },
  components: {
    regmain,
  },
  methods: {
      onClickLeft(){
          this.$router.push("/my")
      }
  },
};
</script>
<style  scoped>
.nav {
  background-color: transparent;
  border: none;
  height: 0.63rem;
  /* align-items: center; */
}
</style>
<style>
.nav {
  padding: 0rem 0.1rem;
}
.register {
  background-color: #fff;
  height: 100vh;
}
.van-nav-bar__text {
  color: rgba(0, 0, 0, 0.54);
}
.van-nav-bar__content {
  height: 100%;
  align-items: center;
  /* border: none; */
}
.nav::after {
  border: none;
}
</style>

